package cn.edu.dgut.css.sai.createspringbootprojectdemo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class TestController {
    @RequestMapping("hello")
    public String index()
    {
        return "你好，Spring Boot!";
    }
}